package com.qf.oop.user;


public class Demo {
    public static void main(String[] args) {

        UserManager userManager = new UserManager();
        userManager.printInfo();
        System.out.println("==================================");
        boolean regist = userManager.regist("lisi", "123456");
        System.out.println(regist);
        userManager.printInfo();
        System.out.println("==================================");
        System.out.println(userManager.regist("zhangsan", "123456"));
        userManager.printInfo();
        System.out.println("==================================");
        System.out.println(userManager.regist("zhangsan", "123456"));
        userManager.printInfo();

        System.out.println("==================================");
        System.out.println(userManager.login("lisi", "1234567"));

    }
}
